/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jun 26, 2014, 11:39:43 PM
    Author     : thien bui
    Email      : thienbv91@gmail.com
*/
.main-content {
    box-shadow: 1px 1px 25px #888888;
}
/************* BANNER **************/
#logo {
    width: 100%;
}
/************* MEMUN **************/
.navbar {
    background: rgba(1, 9, 15, 0.91);
}
.navbar li a {
    color: #fff !important;
}
.navbar-default .navbar-brand {
    color: #FDFDFD !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: rgba(1, 9, 15, 0.91) !important;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: rgba(1, 9, 15, 0.91) !important;
}
.dropdown-menu {
    background-color: rgba(1, 9, 15, 0.91) !important;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    text-decoration: none;
    background-color: rgba(1, 9, 15, 0.91) !important;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #fff;
}
#main-menu, #main-menu li ul {
    text-transform: capitalize;
    list-style: none;
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    padding: 2px;
    -webkit-border-radius: 0 5px 5px 5px;
    -moz-border-radius: 0 5px 5px;
    border-radius: 0 5px 5px 5px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
    padding: 5px 15px 5px 25px;
}

/*.item-post {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 4px 0 4px 4px;
    border-left-color: #333;
    margin-top: 7px;
    margin-right: -10px;
}*/

.dropdown-submenu:hover>a:after {
    border-left-color: #616161;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 5px 0 5px 5px;
    -moz-border-radius: 5px 0 5px 5px;
    border-radius: 5px 0 5px 5px;
}
/************* SLIDER **************/
#slider .item{
    height: 300px;
    width: 100%;
}
#slider .item img {
    margin: 0 auto;
    width: 100%;
    height: 100%;
}
#slider .item h5 {
    background:rgba(0,0,0,0.5);
    width: 100%;
    padding: 10px;
}
/************* CONTENT **************/
.img-post {
    height: 150px !important;
    width: 100% !important;
}
.list-posts {
    padding: 0;
}
.list-posts li {
    list-style: none;
    display: block;
    padding: 5px 0;
}
.list-posts a:before {
    display: block;
    content: " ";
    float: left;
    padding-right: 5px;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 4px 0 4px 4px;
    border-left-color: #333;
    margin-top: 7px;
}

.category .caption {
    margin-top: 10px;
}
.category h3 {
    font-size: 16px;
    padding: 10px;
    background-color: #22313F;
    color: #f3f3f3;
}
.category h3 a {
    color: #f0f0f0;
}
.category h3 a:hover{
    color: #fff;
    text-decoration: none;
}
/************* FOOTER **************/
.text-add {
    color:rgb(3, 160, 45);
}
.text-add:hover {
    text-decoration: none;
    color:rgb(3, 125, 35);
}
.text-edit {
    color:rgb(225, 137, 5);
}
.text-edit:hover {
    text-decoration: none;
    color:rgb(185, 112, 4);
}
.text-delete {
    color:rgb(205, 14, 4);
}
.text-delete:hover {
    text-decoration: none;
    color:rgb(170, 12, 3);
}

.pagination .current,.pagination .current:hover {
    background-color: #0084FF;
    color:#fff;
}
#footer {
    margin-bottom: 20px;
}
#footer p {
    padding:0;
    margin: 0;
    font-size: 13px;
}

/************ FIXSCREEN ***********/
/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
    #slider .item{
        height: 50px;
        width: 100%;
    }
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
    #slider .item{
        height: 250px;
        width: 100%;
    }
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
    #slider .item{
        height: 30px;
        width: 100%;
    }
}
/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    #slider .item{
        height: 250px;
        width: 100%;
    }
}
@media screen and (min-width: 768px) {
    #slider .item{
        height: 300px;
        width: 100%;
    }
}
/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
    #slider .item{
        height: 250px;
        width: 100%;
    }
}